---奇异碎片主技能表
---t_debrismajorskill.csv
---@class DebrisMajorSkillTemplate
local DebrisMajorSkillTemplate = ClientFight.CreateClass("DebrisMajorSkillTemplate")
function DebrisMajorSkillTemplate:ctor()
    --@TplAttr(name = "f_id")
    self.id = 0

    --奇异碎片id
    --@TplAttr(name = "f_DebrisId")
    self.debrisId = 0

    --主技能id
    --@TplAttr(name = "f_SkillId")
    self.skillId = 0

    --下一级主技能id
    --@TplAttr(name = "f_NextSkillId")
    self.nextSkillId = 0

    --等级
    --@TplAttr(name = "f_SkillLevel")
    self.lv = 0

    --buffId
    --@TplAttr(name = "f_BuffId")
    self.buffId = 0

    --成为狗粮可以提供的经验值
    --@TplAttr(name = "f_Exp")
    self.exp = 0

    --升到该等级需要消耗的总经验
    --@TplAttr(name = "f_TotalExp")
    self.totalExp = 0

    --属性值
    --@TplAttr(name = "f_AttributeChangeByLevelUp")
    self.attr = 0
end
function DebrisMajorSkillTemplate:loadCfg(cfg)
    self.id = cfg.f_id
    self.debrisId = cfg.f_DebrisId
    self.skillId = cfg.f_SkillId
    self.nextSkillId = cfg.f_NextSkillId
    self.lv = cfg.f_SkillLevel
    self.buffId = cfg.f_BuffId
    self.exp = cfg.f_Exp
    self.totalExp = cfg.f_TotalExp
    self.attr = cfg.f_AttributeChangeByLevelUp
end